package cn.bonoon.kernel.support.services;

import cn.bonoon.kernel.events.OperateEvent;
import cn.bonoon.kernel.support.OperandSupport;

public interface OperateService extends OperandSupport{
	/**
	 * 支持通常的操作方式，如：删除、移动、改变状态等
	 * @param operand 操作数
	 * @param event
	 * @param id
	 */
	Object operate(int operand, OperateEvent event, Long id);

	/**
	 * 
	 * @param ids
	 */
	Object operate(int operand, OperateEvent event, Long... ids);
}
